# Contributor: Henrik Holst <henrik.holst@millistream.com>
# Maintainer:
pkgname=libmdf
pkgver="1.0.23"
pkgrel=1
pkgdesc="Millistream Data Feed API library"
url="https://millistream.com"
arch="all"
license="LGPL-3.0"
depends=""
makedepends="openssl-dev zlib-dev"
install=""
subpackages="$pkgname-dev"
source="https://packages.millistream.com/source/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
    cd "$builddir"
    ./configure --prefix=/usr
    make
}

check() {
    cd "$builddir"
    make check
}

package() {
    cd "$builddir"
    make DESTDIR="$pkgdir" install
}

sha512sums="31d7922cb72df6bf5c3df1b3fffd2b5b6df0f00a5c4ff9a69d4018cb7e44d5f845f2ca4fe12d709db580e4ae1e9763ffa3bf8566bb0b8e354cc957aaf81115eb  libmdf-1.0.23.tar.gz"
